package saas.dev.clouduserprovide.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import saas.dev.clouduserprovide.service.UserTestService;

/**
 * @author : y1
 * @className : TestEvent
 * @date: 2022/7/20 13:47
 * @description :
 */
@Getter
public class TestEvent extends ApplicationEvent {
    /**
     * 该类型事件携带的信息
     */
    private String orderId;
    private UserTestService userTestService;

    public TestEvent(Object source) {
        super(source);
    }

    public TestEvent(Object source, String orderId,UserTestService userTestService) {
        super(source);
        this.orderId = orderId;
        this.userTestService = userTestService;
    }
}
